package org.jeecg.modules.hc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.hc.enums.HcAfterSalesStateEnum;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 企业订餐售后
 * @Author: jeecg-boot
 * @Date:   2023-07-15
 * @Version: V1.0
 */
@Data
@TableName("hc_company_merchant_after_sales")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hc_company_merchant_after_sales对象", description="企业订餐售后")
public class HcCompanyMerchantAfterSales implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    @ApiModelProperty(value = "查询开始时间")
    private String timeBegin;

    @TableField(exist = false)
    @ApiModelProperty(value = "查询结束时间")
    private String timeEnd;

    @TableField(exist = false)
    @ApiModelProperty(value = "查询开始时间")
    private String timeBegin1;

    @TableField(exist = false)
    @ApiModelProperty(value = "查询结束时间")
    private String timeEnd1;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**用户ID*/
	@Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private java.lang.String userId;
	/**商户ID*/
	@Excel(name = "商户ID", width = 15)
    @ApiModelProperty(value = "商户ID")
    private java.lang.String merchantId;
    /**商户名字*/
    @Excel(name = "商户名字", width = 15)
    @TableField(exist = false)
    private java.lang.String storeName;
    /**商户ID*/
    @ApiModelProperty(value = "商户")
    @TableField(exist = false)
    private HcMerchant merchant;
	/**企业订单ID*/
	@Excel(name = "企业订单ID", width = 15)
    @ApiModelProperty(value = "企业订单ID")
    private java.lang.String orderCompanyId;
    /**企业订单ID*/
    @Excel(name = "企业ID", width = 15)
    @ApiModelProperty(value = "企业ID")
    private java.lang.String companyId;
	/**企业订单编号*/
	@Excel(name = "企业订单编号", width = 15)
    @ApiModelProperty(value = "企业订单编号")
    private java.lang.String orderOrderNum;
	/**餐品问题*/
	@Excel(name = "餐品问题", width = 15)
    @ApiModelProperty(value = "餐品问题")
    private java.lang.String foodProblems;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private java.lang.String picture;
	/**意见反馈*/
	@Excel(name = "意见反馈", width = 15)
    @ApiModelProperty(value = "意见反馈")
    private java.lang.String feedback;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private HcAfterSalesStateEnum state;
	/**处理时间*/
	@Excel(name = "处理时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "处理时间")
    private java.util.Date processingTime;
	/**扣款备注*/
	@Excel(name = "扣款备注", width = 15)
    @ApiModelProperty(value = "扣款备注")
    private java.lang.String deductionRemarks;
	/**驳回原因*/
	@Excel(name = "驳回原因", width = 15)
    @ApiModelProperty(value = "驳回原因")
    private java.lang.String reasonRejection;
	/**扣除商家金额*/
	@Excel(name = "扣除商家金额", width = 15)
    @ApiModelProperty(value = "扣除商家金额")
    private java.math.BigDecimal deductMerchantAmount;
    /**电话*/
    @Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty("投诉次数")
    @TableField(exist = false)
    private Long complaintCount;
    @TableField(exist = false)
    @ApiModelProperty(value = "菜品名称")
    private java.lang.String nameDishes;
}
